Skip to main content

Configuration

The Configuration tab defines execution settings such as executor version, execution path, and resource limits (CPU, Memory). These configurations are essential for running Terraform operations efficiently and consistently across your environments.

Fields Overview

  • Executor (mandatory)
    Choose the execution engine for your workspace. For Terraform, select Terraform as the executor.

  • Executor Version (mandatory)
    Specify the version of the executor to use. This ensures compatibility with your module syntax and provider configurations (e.g., 1.9.4, 1.10.0).

  • Execution Path (optional)
    Define the relative directory path within your repository where Terraform configuration files are located. This allows you to organize multiple configurations in the same repository.

  • CPU (mandatory)
    Allocate CPU resources (in millicores) for the workspace execution. For example, 200m represents 0.2 CPU cores.

  • Memory (mandatory)
    Specify the memory allocation (in MiB) used during execution. This ensures your workspace has sufficient resources to run Terraform commands.

Configuration Example with Custom Path and Version

Steps to Configure

  1. Navigate to Workspace Details > Configuration.
  2. From the Executor dropdown, select Terraform.
  3. Choose the Executor Version that matches your Terraform module requirements.
  4. Enter the Execution Path if your Terraform files are located in a subdirectory.
  5. Specify CPU resources (e.g., 200m).
  6. Specify Memory resources (e.g., 500Mi).
  7. Click Save to apply the configuration.

Tip: Ensure the Executor Version matches the Terraform version defined in your module for compatibility.